package com.offcn.sellergood.feign;


import com.offcn.entity.Result;
import com.offcn.sellergood.entity.GoodsEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name="DYM-SELLERGOOD")
public interface GoodsFeign {

    @GetMapping("/goods/{id}")
    public Result<GoodsEntity> findById(@PathVariable Long id);
}
